package com.niu.crm.model;

import java.math.BigDecimal;
import java.util.Date;

public class StuScore extends BaseModel{
	private static final long serialVersionUID = -8162793192160161419L;
	
	private Long stuId;
	private BigDecimal exam1;
	private BigDecimal exam2;
	private BigDecimal exam3;
	private BigDecimal exam4;
	private BigDecimal exam5;
	private BigDecimal exam6;
	private BigDecimal exam7;
	private BigDecimal exam8;
	private BigDecimal exam9;
	private BigDecimal exam10;
	private BigDecimal exam11;
	private BigDecimal exam12;
	private BigDecimal exam13;
	private BigDecimal exam14;
	private BigDecimal exam15;
	
	
	public Long getStuId() {
		return stuId;
	}
	public void setStuId(Long stuId) {
		this.stuId = stuId;
	}
	public BigDecimal getExam1() {
		return exam1;
	}
	public void setExam1(BigDecimal exam1) {
		this.exam1 = exam1;
	}
	public BigDecimal getExam2() {
		return exam2;
	}
	public void setExam2(BigDecimal exam2) {
		this.exam2 = exam2;
	}
	public BigDecimal getExam3() {
		return exam3;
	}
	public void setExam3(BigDecimal exam3) {
		this.exam3 = exam3;
	}
	public BigDecimal getExam4() {
		return exam4;
	}
	public void setExam4(BigDecimal exam4) {
		this.exam4 = exam4;
	}
	public BigDecimal getExam5() {
		return exam5;
	}
	public void setExam5(BigDecimal exam5) {
		this.exam5 = exam5;
	}
	public BigDecimal getExam6() {
		return exam6;
	}
	public void setExam6(BigDecimal exam6) {
		this.exam6 = exam6;
	}
	public BigDecimal getExam7() {
		return exam7;
	}
	public void setExam7(BigDecimal exam7) {
		this.exam7 = exam7;
	}
	public BigDecimal getExam8() {
		return exam8;
	}
	public void setExam8(BigDecimal exam8) {
		this.exam8 = exam8;
	}
	public BigDecimal getExam9() {
		return exam9;
	}
	public void setExam9(BigDecimal exam9) {
		this.exam9 = exam9;
	}
	public BigDecimal getExam10() {
		return exam10;
	}
	public void setExam10(BigDecimal exam10) {
		this.exam10 = exam10;
	}
	public BigDecimal getExam11() {
		return exam11;
	}
	public void setExam11(BigDecimal exam11) {
		this.exam11 = exam11;
	}
	public BigDecimal getExam12() {
		return exam12;
	}
	public void setExam12(BigDecimal exam12) {
		this.exam12 = exam12;
	}
	public BigDecimal getExam13() {
		return exam13;
	}
	public void setExam13(BigDecimal exam13) {
		this.exam13 = exam13;
	}
	public BigDecimal getExam14() {
		return exam14;
	}
	public void setExam14(BigDecimal exam14) {
		this.exam14 = exam14;
	}
	public BigDecimal getExam15() {
		return exam15;
	}
	public void setExam15(BigDecimal exam15) {
		this.exam15 = exam15;
	}
	

	
	public BigDecimal getScore(int examNo){
		if(examNo ==1)
			return this.exam1;
		else if(examNo ==2)
			return this.exam2;
		else if(examNo ==3)
			return this.exam3;
		else if(examNo ==4)
			return this.exam4;
		else if(examNo ==5)
			return this.exam5;
		else if(examNo ==6)
			return this.exam6;
		else if(examNo ==7)
			return this.exam7;
		else if(examNo ==8)
			return this.exam8;
		else if(examNo ==9)
			return this.exam9;
		else if(examNo ==10)
			return this.exam10;
		else if(examNo ==11)
			return this.exam11;
		else if(examNo ==12)
			return this.exam12;
		else if(examNo ==13)
			return this.exam13;
		else if(examNo ==14)
			return this.exam14;
		else if(examNo ==15)
			return this.exam15;
		else
			return null;
		
	}
}